﻿@{
    Layout = "~/Views/Shared/_AddEdit.cshtml";
}
<div class="poppan">
    <table>
        <tr>
            <td>教室名称*</td>
            <td><input type="text" name="_name" value='@ViewBag.data["name"]' autocomplete="off" class="layui-input" /></td>
        </tr>        
        <tr>
            <td>状态</td>
            <td>
                <input id="_state_1" type="radio" name="_state" value="1" @(ViewBag.data["state"] == "1" ? "checked='checked'" : "") title="启用" />
                <input id="_state_0" type="radio" name="_state" value="0" @(ViewBag.data["state"] == "0" ? "checked='checked'" : "") title="禁用" />                
            </td>
        </tr>
    </table>
</div>		